package com.chinaunicom.structure.adapter.interfacemodel;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/22 15:33
 * Description:  US适配器
 */
public class USAdapter extends MoneyAllAbstract{
    private RMBAdaptee rmbAdaptee;
    
    public USAdapter(RMBAdaptee rmbAdaptee){
        this.rmbAdaptee = rmbAdaptee;
    }

    @Override
    public void showUS() {
        System.out.println("US adapter: 调用US适配者接口 .....");
        rmbAdaptee.showRMB();
    }
}
